from django import forms


class SYSConfigForms(forms.Form):
    my_capital = forms.FloatField(required=True)  # 我的资金
    predict_start_time = forms.DateTimeField(required=True)  # 预测开始时间
    predict_end_time = forms.DateTimeField(required=True)  ##预测结束时间
    main_model = forms.CharField(required=True)  # 主要模型
    main_rule = forms.CharField(required=True)  # 主规则
    sz_price = forms.FloatField(required=True)  # 深圳交易所税率
    sh_price = forms.FloatField(required=True)  # 上海交易所税率
    stamp_tax = forms.FloatField(required=True)  # 印花税
    transfer_feed = forms.FloatField(required=True)  # 过付费税率
    sz_min_price = forms.FloatField(required=True)  # 深圳交易所最低税
    sh_min_price = forms.FloatField(required=True)  # 上海交易所最低税
